//
//  LEGoodsBottomBar.m
//  LoveExpressBusiness
//
//  Created by 刘甲奇 on 2017/5/15.
//  Copyright © 2017年 DFH. All rights reserved.
//

#import "LEGoodsBottomBar.h"

@interface LEGoodsBottomBar()

/**
 <#Description#>
 */
@property(nonatomic,strong)bottomBarBlock block;

@end

@implementation LEGoodsBottomBar

- (void)awakeFromNib
{
    [super awakeFromNib];
    [self.storageButton.layer setBorderWidth:1];
    [self.storageButton.layer setBorderColor:LERedColor.CGColor];
    
}

#pragma mark- 点击事件
- (void)bottomBarClick:(bottomBarBlock)block
{
    _block = block;
}
- (IBAction)saleClick:(UIButton *)sender {
    LELog(@"%s---%d---上架",__func__,__LINE__);
    _block(sender.tag);
}
- (IBAction)storageClick:(UIButton *)sender {
    LELog(@"%s---%d---加入仓库",__func__,__LINE__);
    _block(sender.tag);
}


@end
